package com.boomcat.boomcat.service.Impl;

import com.boomcat.boomcat.dao.UserDao;
import com.boomcat.boomcat.domain.User;
import com.boomcat.boomcat.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service

public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;
    @Override
    public void register(User user) {

    }

    @Override
    public User selectUser(String account, String password) {
        return userDao.selectByAccountAndPasswordUser(account, password);
    }
}
